package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.example.model.Categories;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoriesMapper extends BaseMapper<Categories> {


    List<Categories> queryCategoriesByUserId(@Param("userId") Long userId);
}
